libxl: idl: complete some enums in the IDL with their defaults
authorRob Hoes <rob.hoes@citrix.com>
Thu, 22 Aug 2013 10:50:52 +0000 (11:50 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 10 Sep 2013 10:44:02 +0000 (11:44 +0100)
commit166bb0fe37f3b49c4825c4dce1e33251c9b7c784
tree387cdf0f5728cb01156522fd2cc13d078a6054d5
parentdecd97c976ffe5655c8d98adf34d6501c12e0aae
libxl: idl: complete some enums in the IDL with their defaults

There are several enums in the IDL that are initialised to 0, while
the value 0 is not part of the enum itself. This creates problems for
language bindings generated from the IDL, such as the OCaml ones.

Added an explicit (0, "UNKNOWN") enum value where appropriate, or used
init_val to default to a sensible value.

Signed-off-by: Rob Hoes <rob.hoes@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxl/libxl_types.idl